//制表页面，根路由
const Tabulation = () => import('../../views/tabulation/Tabulation');
//事项查询
const TabulationAcceptance = () => import('../../views/tabulation/business/Acceptance');
//已办业务
const TabulationAlready = () => import('../../views/tabulation/business/Already');
//待办业务查询
const TabulationWaitHandle = () => import('../../views/tabulation/business/WaitHandle');
//统计报表页
const TabulationStatistics = () => import('../../views/tabulation/business/Statistics');

//目录总览
const TabulationDirectory = () => import('../../views/tabulation/business/directory.vue');

//目录清单导入
const TabulationListContents = () => import('../../views/tabulation/eventManage/ListContents.vue');
//目录清单编辑
const TabulationCompileContents = () => import('../../views/tabulation/eventManage/CompileContents.vue');
//目录清单审核
const TabulationAuditContents = () => import('../../views/tabulation/eventManage/AuditContents.vue');
// //目录清单审核
// const TabulationAuditContentsIndex = () => import('../../views/tabulation/eventManage/auditChildren/index.vue');
//目录清单发布
const TabulationReleaseContents = () => import('../../views/tabulation/eventManage/ReleaseContents.vue');
//目录清单认领
const TabulationToClaimContents = () => import('../../views/tabulation/eventManage/ToClaimContents.vue');
//项目清单认领审核
const TabulationToClaimAuditContents = () => import('../../views/tabulation/eventManage/ToClaimAuditContents.vue');
//项目清单动态管理
const TabulationDynamicMaContents = () => import('../../views/tabulation/eventManage/DynamicMaContents.vue');
export default [
  // 制表页面
  {
    path: '/tabulation', //最外层的根路由页面
    name: 'tabulation',
    component: Tabulation,
    children: [
      //子菜单
      {
        path: '/tabulation/acceptance', //事项查询列表页
        name: 'acceptance',
        component: TabulationAcceptance
      },
      {
        path: '/tabulation/already', //已办业务查询列表页
        name: 'already',
        component: TabulationAlready
      },
      {
        path: '/tabulation/waithander', //待办业务查询列表页
        name: 'waithander',
        component: TabulationWaitHandle
      },
      {
        path: '/tabulation/statistics', //统计报表页面
        name: 'statistics',
        component: TabulationStatistics
      },
      {
        path: '/tabulation/directory', //目录总览
        name: 'directory',
        component: TabulationDirectory
      },
      {
        path: '/tabulation/AcceptanceOneEvent-two',
        name: 'AcceptanceOneEvent-two',
        component: () => import('../../views/tabulation/business/AcceptanceOneEvent-two.vue')
      },
      {
        //目录清单导入
        path: '/tabulation/listContents',
        name: 'listContents',
        component: TabulationListContents
      },
      {
        //目录清单编辑
        path: '/tabulation/compileContents',
        name: 'compileContents',
        component: TabulationCompileContents
      },
      {
        //目录清单审核
        path: '/tabulation/auditContents',
        name: 'auditContents',
        component: TabulationAuditContents
      },
      {
        //目录清单发布
        path: '/tabulation/releaseContents',
        name: 'releaseContents',
        component: TabulationReleaseContents
      },
      {
        //目录清单认领
        path: '/tabulation/toClaimContents',
        name: 'toClaimContents',
        component: TabulationToClaimContents
      },
      {
        //项目清单认领审核
        path: '/tabulation/toClaimAuditContents',
        name: 'toClaimAuditContents',
        component: TabulationToClaimAuditContents
      },
      {
        //项目清单动态管理
        path: '/tabulation/dynamicMaContents',
        name: 'dynamicMaContents',
        component: TabulationDynamicMaContents
      }
    ]
  }
];
